課程名稱 |
計算機程式 COMPUTER PROGRAMMING |
開課學期 |
98-1 |
授課對象 |
工學院 化學工程學系 |
授課教師 |
諶玉真 |
課號 |
ChemE1004 |
課程識別碼 |
504 10300 |
班次 |
|
學分 |
3 |
全/半年 |
半年 |
必/選修 |
選修 |
上課時間 |
星期三5(12:20~13:10)星期四5,6(12:20~14:10) |
上課地點 |
化工一 |
備註 |
化工系以外需經老師同意。含實習。週三5在化工一。週四56在工綜323。改為群組必選。 限本系所學生(含輔系、雙修生) 總人數上限:45人 |
Ceiba 課程網頁 |
http://ceiba.ntu.edu.tw/981_che_pcprogram |
課程簡介影片 |
|
核心能力關聯 |
核心能力與課程規劃關聯圖 |
課程大綱
|
為確保您我的權利,請尊重智慧財產權及不得非法影印
|
課程概述 |
學習Fortran程式語言的邏輯概念及語法 |
課程目標 |
熟悉Fortran程式語言的邏輯概念及語法。
2. 能撰寫程式,解決工程及科學問題。
|
課程要求 |
教科書1 1. “Fortran 90 for Engineers and Scientists”, Larry R. Nyhoff and Sanford C. Leestma, Prentice Hall, 1997
2. “Fortran 90 Programming”, T. M. Ellis; Ivor R. Philips and Thomas M. Lahey, Addison-Wesley Publishers Ltd., 1994.
課程大綱 分配時數 備註
單元主題 內容綱要 講授 示範 習作 其他2
Introduction to Computers and the Fortran Language
1.The Computer
2.Data Representation in a Computer
3.Computer Languages 3
Basic Elements of Fortran 1.The Fortran Character Set
2.The Structure of a Fortran Program
3.Constants and Variables
4.Assignment Statements and Arithmetic Calculations
5.Intrinsic Functions
6.List-Directed Input and Output Statements 4 2
Selective Execution 1.Simple IF Construct
2.General Form of the IF Construct
3.Multiple Alternative
4.Nested IF Constructs
5.Named Construct
6.The CASE Construct 4 2
Repetitive Execution 1.Counter-Controlled DO Loops
2.Nested DO Loops
3.General DO Loops : DO-EXIT Construct
4.General DO-WHILE Loops
5.The CYCLE statements
6.Named DO Construct 4 2
Input/Output 1.Formatted Output
2.Formatted Input
3.Reading Data From a File
4.Opening Files
5.Closing Files
6.File-Positioning Statements 2 1
Programming with Functions 1.Functions
2.Introduction to Modules
3.External Functions 4 2
Programming with Subroutines 1.Subroutine Subprograms
2.Random Number Generators
3.Subroutine as Arguments 4 2
One-Dimensional Array 1.Compile-Time Arrays and Run-Time Arrays
2.Allocatable Arrays
3.Array Processing
4.The WHERE Construct
5.Arrays as Arguments 4 2
Multi-Dimensional Array 1.Input/Output of Multidimensional Arrays
2.Processing Multidimensional Arrays 4 2
2. 教學方法
上課所在地點為工學院之設備良好的電腦教室
上課以ppt配合投影機教學為主
輔以白板說明艱澀、抽象內容
除講授課程外,也安排習作時間進行,促使學生實際動手撰寫程式,並加強老師與同學間之互動
3. 教材網址或其它相關說明
上課教材可至http://www.che.ntu.edu.tw/lab/cmsl/index.htm下載
|
預期每週課後學習時數 |
|
Office Hours |
|
指定閱讀 |
|
參考書目 |
1. “Fortran 90 for Engineers and Scientists”, Larry R. Nyhoff and Sanford C.
Leestma, Prentice Hall, 1997
2. “Fortran 90 Programming”, T. M. Ellis; Ivor R. Philips and Thomas M. Lahey,
Addison-Wesley Publishers Ltd., 1994. |
評量方式 (僅供參考) |
No. |
項目 |
百分比 |
說明 |
1. |
電腦作業 |
40% |
|
2. |
期末考 |
30% |
|
3. |
期中考 |
30% |
|
|
週次 |
日期 |
單元主題 |
第1週 |
9/17,9/18 |
Introduction to Computers and the Fortran Language |
第2週 |
|
Basic Elements of Fortran
|
第3週 |
10/01,10/02 |
Basic Elements of Fortran |
第4週 |
10/08,10/09 |
Selective Execution |
第5週 |
10/15,10/16 |
Selective Execution |
第6週 |
10/22,10/23 |
Repetitive Execution |
第7週 |
10/29,10/30 |
Input/Output |
第8週 |
11/05,11/06 |
One-Dimensional Array |
第11週 |
11/26,11/27 |
Multi-Dimensional Array |
第12週 |
12/03,12/04 |
期中考成績公布 |
第17週 |
1/07,1/08 |
!!期末考!! |
|